package carson.web.mvc.bootdemo.config;

import carson.web.mvc.core.CarsonControllerNameHandlerMapping;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

@Configuration
public class WebAppConfig extends WebMvcConfigurationSupport {
    @Bean
    public CarsonControllerNameHandlerMapping handlerMapping() {
        CarsonControllerNameHandlerMapping handlerMapping = new CarsonControllerNameHandlerMapping();
        return handlerMapping;
    }
}
